package team.seekers.hula.course.structure.chapter.entity.dto;

import lombok.*;
import team.seekers.hula.common.entity.BaseDTO;
import team.seekers.hula.course.resource.sectionContent.entity.dto.SectionContentCreateDTO;

/**
 *
 * @author GH
 * @since 2022-04-30 18:05:44
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ChapterCreateDTO extends BaseDTO {

    private String name;

    /**所属的课程id*/
    private String courseId;

    /**创建者的id*/
    private String userId;

    /**所绑定的内容id*/
    private String linkId;

    /**章顺序（第几章）*/
    private Integer sequence;

    /**绑定的内容（富文本），如果是绑定测试，则linkId为必填*/
    private SectionContentCreateDTO linkSectionContent;

}
